#ifndef CONCRETE_ELEMENT_LOADER_H
#define CONCRETE_ELEMENT_LOADER_H

#include "tinyxml.h"
#include "ElementLoader.h"

template <class Elem>
class ConcreteElementLoader : public ElementLoader
{
public:
	ConcreteElementLoader(void) {}
	virtual ~ConcreteElementLoader(void) {}

	Element * createElement(TiXmlElement *elem) {
		return new Elem(elem);
	}
};

#endif